package com.xxg.imagemanager.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 查询商品sku信息
 *
 * @author xuxiaogang
 * @date 2021-11-26
 */
@Mapper
@Component
public interface RenrenShopGoodsOptionDao {
    /**
     * 在指定范围内查询数据
     *
     * @return 结果
     */
    @Select("select id,shop_id as shopId,goods_id as goodsId,thumb " +
            "from renren_shop_goods_option where thumb<>''")
    List<RenrenShopGoodsOption> select();
}